package com.itheima.mall.service.pmsService;


import com.itheima.mall.commons.R;
import com.itheima.pojo.pms.PmsBrand;

import java.util.List;

public interface PmsBrandApi {
    void addBrand(PmsBrand brand);

    void delete(Integer id);

    List<PmsBrand> listAll();

    void deleteIds(List<Integer> ids);

    void updateStatus(Integer factoryStatus, List<Long> ids);

    void updateShowstatus(Integer showStatus, List<Long> ids);

    void updateBrand(PmsBrand brand);

    PmsBrand findById(Long id);


    R findBrand(Integer pageNum, Integer pageSiZe, String keyword);
}
